
import { TabBar } from 'antd-mobile'
import { NavLink } from 'react-router-dom'
function Tabbar() {
    return (
        <div>
            <TabBar >
                <TabBar.Item key='1' title='首页'>
                  <NavLink to='/mainLayout/home'></NavLink>
                </TabBar.Item>
                <TabBar.Item key='2' title='我的'>
                     <NavLink to='/mainLayout/my'></NavLink>
                </TabBar.Item>
            </TabBar>
        </div >
    )
}

export default Tabbar